package com.project.bean;

public class ClassBean {
    /**班级编号*/
    private int classId;
    /**班级姓名*/
    private String name;

    public ClassBean() {
    }

    public ClassBean(String name) {
        this.name = name;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "classId=" + classId +
                ", name='" + name + '\'' +
                '}';
    }
}
